package cn.powertime.evaluation.service.impl;

import cn.powertime.evaluation.entity.DbqPostingsComment;
import cn.powertime.evaluation.mapper.DbqPostingsCommentMapper;
import cn.powertime.evaluation.service.DbqPostingsCommentService;
import cn.powertime.evaluation.vo.WebReqPostingsCommentSearchVo;
import cn.powertime.evaluation.vo.WebRespPostingsCommentListVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 评论表 服务实现类
 * </p>
 *
 * @author liqi
 * @since 2019-09-23
 */
@Service
public class DbqPostingsCommentServiceImpl extends ServiceImpl<DbqPostingsCommentMapper, DbqPostingsComment> implements DbqPostingsCommentService {

    @Autowired
    private DbqPostingsCommentMapper dbqPostingsCommentMapper;


    @Override
    public IPage<WebRespPostingsCommentListVo> commentList(Page page, WebReqPostingsCommentSearchVo params) {
        return dbqPostingsCommentMapper.commentList(page,params);
    }
}
